{// 引入标签库 }
<tagLib name="html" />
<include file="Public:header" />
<load href='/javascript/admin/jquery.bgiframe.js' />
<load href='/javascript/admin/jquery.weebox.js' />
<load href='/javascript/admin/user.js' />
<load href='/style/admin/weebox.css' />
<script type="text/javascript">
	function show_content(id)
	{
		$.weeboxs.open(ROOT+'?m=DealMsgList&a=show_content&id='+id, {contentType:'ajax',showButton:false,title:LANG['SHOW_CONTENT'],width:600});
	}
	function send(id)
	{
		$.ajax({ 
				url: ROOT+"?"+VAR_MODULE+"="+MODULE_NAME+"&"+VAR_ACTION+"=send&id="+id, 
				data: "ajax=1",
				success: function(msg){
					alert(msg);
				}
		});
	}
</script>
<div class="main">
<div class="main_title">{$main_title}</div>
<div class="blank5"></div>
<div class="button_row">
	<input type="button" class="button" value="{$Think.lang.FOREVERDEL}" onclick="foreverdel();" />
	
	<input type="button" id="reset_sending" class="button" value="{$Think.lang.CANCEL_SENDING}" onclick="reset_sending('DEAL_MSG_LOCK');" />
	
</div>
<div class="blank5"></div>
<div class="search_row">
	<form name="search" action="__APP__" method="get">	
		{$Think.lang.SEND_DEST}：<input type="text" class="textbox" name="dest" value="{:trim($_REQUEST['dest'])}" style="width:100px;" />
		{$Think.lang.CONTENT}：<input type="text" class="textbox" name="content" value="{:trim($_REQUEST['content'])}" />
		<input type="hidden" value="DealMsgList" name="m" />
		<input type="hidden" value="index" name="a" />
		<input type="submit" class="button" value="{$Think.lang.SEARCH}" />
	</form>
</div>
<div class="blank5"></div>
<html:list 
	id="dataTable" 
	style="dataTable" 
	name="msg" 
	checkbox="true" 
	action="true" 
	datasource="list" 
	show="id:{$Think.lang.ID}|50px
	,send_type|get_send_type_msg:{$Think.lang.SEND_TYPE}
	,dest:{$Think.lang.SEND_DEST}
	,user_id:用户ID
	,title:{$Think.lang.TITLE}
	,content|show_content=$msg['id']:{$Think.lang.CONTENT}
	,create_time|to_date:{$Think.lang.CREATE_TIME}
	,send_time|to_date:{$Think.lang.SEND_TIME}
	,is_send|get_is_send:{$Think.lang.SEND_STATUS}
	,is_success|get_send_result:{$Think.lang.SEND_RESULT}
	,result:{$Think.lang.SEND_INFO}" 
	actionlist="send:{$Think.lang.SEND_NOW},foreverdel:{$Think.lang.FOREVERDEL}" /> 

<div class="blank5"></div>
<div class="page">{$page}</div>
</div>
<include file="Public:footer" />